package com.jic.market.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(description = " 订单确认下单数据返回")
public class ProductOrderRestResponse {
    @ApiModelProperty(notes = "是否购物车下单 0.不是 1是")
    private Integer isCart;

    @ApiModelProperty(notes = "运费")
    private BigDecimal freight;

    @ApiModelProperty(notes = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(notes = "优惠金额")
    private BigDecimal couponAmount;

    @ApiModelProperty(notes = "商品列表")
    private List<ProductOrderResVo> productOrders;

    @ApiModelProperty(notes = "运费列表")
    private List<ProductOrderFreightResVo> freightList;
}
